package hhpoll.domain;

import javax.xml.bind.annotation.XmlTransient;

public class PollItem {
	private Long id;
	private User creator;
    private Long creatorId;
    private Long pollId;
    private Integer numVotes;
    private String text;
    private java.util.Date createDate;
    
	/**
	 * @return the id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	
	public User getCreator() {
		return creator;
	}
	public void setCreator(User creator) {
		this.creator = creator;
	}
	public Long getCreatorId() {
		return creatorId;
	}
	public void setCreatorId(Long creatorId) {
		this.creatorId = creatorId;
	}
	public Long getPollId() {
		return pollId;
	}
	public void setPollId(Long pollId) {
		this.pollId = pollId;
	}
	/**
	 * @return the item
	 */
	public String getText() {
		return text;
	}
	/**
	 * @param item the item to set
	 */
	public void setText(String text) {
		this.text = text;
	}
	public Integer getNumVotes() {
		return numVotes;
	}
	public void setNumVotes(Integer numVotes) {
		this.numVotes = numVotes;
	}
	/**
	 * @return the createDate
	 */
	public java.util.Date getCreateDate() {
		return createDate;
	}
	/**
	 * @param createDate the createDate to set
	 */
	public void setCreateDate(java.util.Date createDate) {
		this.createDate = createDate;
	}

}
